package question.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/4/9.
 */

public class QuestionDetailBean implements Serializable{


    /**
     * err_code : 0
     * msg : 请求成功
     * alert : N
     */

    private DetailBean detail;

    public DetailBean getDetail() {
        return detail;
    }

    public void setDetail(DetailBean detail) {
        this.detail = detail;
    }

    public static class DetailBean  implements Serializable{
        /**
         * question_time : 2017-04-09
         * question : 哈哈哈
         * answer : 嗯嗯嗯
         * praise : 0
         * comment : 0
         * questioner_headimgurl : https://xuegengwang.com/api/public/static/publish/thumb/149147155667318813758116.jpg
         * questioner_prov : 河南
         * questioner_city : 三门峡市
         * questioner_name : 老宋八神庵啊
         * answerer_type : normal
         * college : 广东财经大学
         * major : 物联网工程
         * answerer_headimgurl : http://wx.qlogo.cn/mmopen/T6kmhXsfuZOBBuZKD8J7XUTiaiaFuNhibFz886M3NIYL9l8NqffzqC5w6YFx0MIKlwhMlMdWzNEl4qqNgHPrcCtHE1HYP3WBu23/0
         * answerer_name : 什么？汪浩要搞电脑了
         * commentList : []
         * state
         * ispay
         */

        private int ispay;
        private String questioner_id;
        private String brief;
        private String question_time;
        private String question;
        private String answer;
        private String praise;
        private int is_praised;
        private String comment;
        private String questioner_headimgurl;
        private String questioner_prov;
        private String questioner_city;
        private String questioner_name;
        private String answerer_type;
        private String college;
        private String major;
        private String answerer_headimgurl;
        private String answerer_name;
        private List<QuestionDetailCommentBean> commentList;
        private String questioner_type;
        private String attention;
        private String answered;
        private String grade;
        private String questioner_from;
        private String state;
        private String answerer_id;

        public String getAnswerer_id() {
            return answerer_id;
        }

        public void setAnswerer_id(String answerer_id) {
            this.answerer_id = answerer_id;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getQuestioner_from() {
            return questioner_from;
        }

        public void setQuestioner_from(String questioner_from) {
            this.questioner_from = questioner_from;
        }

        public String getQuestioner_id() {
            return questioner_id;
        }

        public void setQuestioner_id(String questioner_id) {
            this.questioner_id = questioner_id;
        }

        public String getBrief() {
            return brief;
        }

        public void setBrief(String brief) {
            this.brief = brief;
        }

        public int getIspay() {
            return ispay;
        }

        public void setIspay(int ispay) {
            this.ispay = ispay;
        }

        public String getQuestioner_type() {
            return questioner_type;
        }

        public void setQuestioner_type(String questioner_type) {
            this.questioner_type = questioner_type;
        }

        public String getAttention() {
            return attention;
        }

        public void setAttention(String attention) {
            this.attention = attention;
        }

        public String getAnswered() {
            return answered;
        }

        public void setAnswered(String answered) {
            this.answered = answered;
        }

        public String getGrade() {
            return grade;
        }

        public void setGrade(String grade) {
            this.grade = grade;
        }

        public int getIs_praised() {
            return is_praised;
        }

        public void setIs_praised(int is_praised) {
            this.is_praised = is_praised;
        }

        public String getQuestion_time() {
            return question_time;
        }

        public void setQuestion_time(String question_time) {
            this.question_time = question_time;
        }

        public String getQuestion() {
            return question;
        }

        public void setQuestion(String question) {
            this.question = question;
        }

        public String getAnswer() {
            return answer;
        }

        public void setAnswer(String answer) {
            this.answer = answer;
        }

        public String getPraise() {
            return praise;
        }

        public void setPraise(String praise) {
            this.praise = praise;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public String getQuestioner_headimgurl() {
            return questioner_headimgurl;
        }

        public void setQuestioner_headimgurl(String questioner_headimgurl) {
            this.questioner_headimgurl = questioner_headimgurl;
        }

        public String getQuestioner_prov() {
            return questioner_prov;
        }

        public void setQuestioner_prov(String questioner_prov) {
            this.questioner_prov = questioner_prov;
        }

        public String getQuestioner_city() {
            return questioner_city;
        }

        public void setQuestioner_city(String questioner_city) {
            this.questioner_city = questioner_city;
        }

        public String getQuestioner_name() {
            return questioner_name;
        }

        public void setQuestioner_name(String questioner_name) {
            this.questioner_name = questioner_name;
        }

        public String getAnswerer_type() {
            return answerer_type;
        }

        public void setAnswerer_type(String answerer_type) {
            this.answerer_type = answerer_type;
        }

        public String getCollege() {
            return college;
        }

        public void setCollege(String college) {
            this.college = college;
        }

        public String getMajor() {
            return major;
        }

        public void setMajor(String major) {
            this.major = major;
        }

        public String getAnswerer_headimgurl() {
            return answerer_headimgurl;
        }

        public void setAnswerer_headimgurl(String answerer_headimgurl) {
            this.answerer_headimgurl = answerer_headimgurl;
        }

        public String getAnswerer_name() {
            return answerer_name;
        }

        public void setAnswerer_name(String answerer_name) {
            this.answerer_name = answerer_name;
        }

        public List<QuestionDetailCommentBean> getCommentList() {
            return commentList;
        }

        public void setCommentList(List<QuestionDetailCommentBean> commentList) {
            this.commentList = commentList;
        }



        public class QuestionDetailCommentBean  implements Serializable{
            public String id;
            public String content;
            public String time;
            public String headimgurl;
            public String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getHeadimgurl() {
                return headimgurl;
            }

            public void setHeadimgurl(String headimgurl) {
                this.headimgurl = headimgurl;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
